<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}  
    </head>
    <body>
        <div class="wrapper">
	        {include file="public/nav"}  
	        <div id="page-wrapper" style="min-height: 325px;">
	            <div class="row">
		            <div class="col-lg-12">
		                <h1 class="page-header">添加分类</h1>                        

		            </div>
	            </div>
	            <div class="row">
		            <div class="col-lg-6">
                        <form role="form" action="insert" method="post" id="form">
                            <div class="form-group">
                                <select class="form-control" name="fid">
                                    <option value="0">顶层菜单</option>
                                    {volist name="data" id="v"}
                                    <option value="{$v.bt_id}">{$v.bt_name}</option>
                                    {/volist}
                                </select>
                            </div>
                            <div class="form-group">
                                <label>分类名称</label>
                                <input class="form-control" type="text" name="name">
                                <p class="help-block">分类名称不能超过30个字符</p>
                            </div>
                            <div class="form-group">
                                <label>分类编号</label>
                                <input class="form-control" type="text" name="sn">
                            </div>
                            <div class="form-group">
                                <label>排序</label>
                                <input class="form-control" type="text" name="sort" value="10">
                            </div>
                            <div class="form-group">
                            </div>
                        </form>
                        <button class="btn btn-primary" value="提交" id="submit" onclick="def.submit('form')">submit</button>
		            </div>
	            </div>
	        </div>
        </div>
        {include file="public/plane" /}
        {include file="public/javascript" /}
        {include file="public/jqueryform" /}
        <script type="text/javascript" src="/admin/script/booktype/edit.js"></script>
    </body>
</html>
